package com.usian.model.article.pojos;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 文章信息表，存储已发布的文章
 */
@Data
@TableName("ap_article")
public class ApArticle implements Serializable {


  private long id;
  @TableField("title")
  private String title;
  @TableField("author_id")
  private long authorId;
  @TableField("author_name")
  private String authorName;
  @TableField("channel_id")
  private long channelId;
  @TableField("channel_name")
  private String channelName;
  @TableField("layout")
  private long layout;
  @TableField("flag")
  private long flag;
  @TableField("images")
  private String images;
  @TableField("labels")
  private String labels;
  @TableField("likes")
  private long likes;
  @TableField("collection")
  private long collection;
  @TableField("comment")
  private long comment;
  @TableField("views")
  private long views;
  @TableField("province_id")
  private long provinceId;
  @TableField("city_id")
  private long cityId;
  @TableField("county_id")
  private long countyId;
  @TableField("created_time")
  private Date createdTime;
  @TableField("publish_time")
  private Date publishTime;
  @TableField("sync_status")
  private long syncStatus;
  @TableField("origin")
  private long origin;

}
